#include<stdio.h>
int main()
{
	int i,n;
	char ch[80];
	printf("input cipher code:\n");
	gets(ch);
	printf("\n cipher code:%s\n",ch);
	i=0;
	while(ch[i]!=0)
	{
		if(ch[i]>='A' && ch[i]<='Z')
			ch[i]=155-ch[i];
		else if(ch[i]>='a' && ch[i]<='z')
			ch[i]=219-ch[i];
		else
			ch[i]=ch[i];
		i++;
		
	}
	n=i;
	printf("orginal text:");
	for(i=0;i<n;i++)
		putchar(ch[i]);
	printf("\n");
	return 0;
}
